const readline = require( 'readline' );

for( let i = 1 ; i < 10 ; i++ ){
    process.stdout.write( i + ( i != 9 ? '\t' : '\n') );
}

const rl = readline.createInterface({
    input: process.stdin,
    output: process.stdout ,
    terminal: true
});

rl.on( 'line' , content=>{
    console.log( '读取到:' , content );
    rl.close();
});